Skip to main content

revQueryIsAtEnd

Type

function

Summary

Returns whether the end of a record set has been reached or not.

Syntax

revQueryIsAtEnd(<recordSetID>)

Description

Use the revQueryIsAtEnd function to stop when you reach the end of a record set.

If the operation is not successful, the revQueryIsAtEnd function returns an error message that begins with the string "revdberr"

Parameters

NameTypeDescription

recordSetID

The number returned by the revQueryDatabase function when the record set was created

Examples

repeat until revQueryIsAtEnd(tCursor)
...
revMoveToNextRecord tCursor
end repeat

command: revMoveToNextRecord, revMoveToNextRecord

function: revQueryIsAtStart

glossary: command

Compatibility and Support

Introduced

LiveCode 2.9

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?